API Documentation
Public Member Functions | List of all members
nkGraphics::Pass Class Referenceabstract

The base for a pass within a TargetOperations.
More...

Inheritance diagram for nkGraphics::Pass:
nkGraphics::ProfilableClass nkExport::Exportable nkGraphics::ClearTargetsPass nkGraphics::ComputePass nkGraphics::InstancingPass nkGraphics::PostProcessPass nkGraphics::RaytracingPass nkGraphics::RenderScenePass nkGraphics::MonoMaterialPass

Public Member Functions

TargetOperationsgetParentTargetOperations () const
 
PASS_TYPE getPassType () const
 
const char * getName () const
 
void setParentTargetOperations (TargetOperations *parent)
 
void setName (const char *name)
 
virtual void render ()=0
 
virtual void exportClassToTree (nkExport::Node *rootNode) override
 
virtual void importClassFromTree (nkExport::Node *rootNode) override
 
- Public Member Functions inherited from nkExport::Exportable
 Exportable ()
 
virtual ~Exportable ()
 

Detailed Description

The base for a pass within a TargetOperations.

One pass is attached to one target operations, which owns it.
See TargetOperations for all the passes available.

Member Function Documentation

◆ getParentTargetOperations()

TargetOperations* nkGraphics::Pass::getParentTargetOperations ( ) const
Returns
The parent target operations.

◆ getPassType()

PASS_TYPE nkGraphics::Pass::getPassType ( ) const
Returns
The pass type.

◆ getName()

const char* nkGraphics::Pass::getName ( ) const
Returns
The name of the pass.

◆ setParentTargetOperations()

void nkGraphics::Pass::setParentTargetOperations ( TargetOperations parent)

Sets the parent target operations.

Parameters
parentThe parent to set.

◆ setName()

void nkGraphics::Pass::setName ( const char *  name)

Sets the name of the pass.

Parameters
nameThe name to assign.

◆ render()

virtual void nkGraphics::Pass::render ( )
pure virtual

Part of old API. Will be removed in a near future.

◆ exportClassToTree()

virtual void nkGraphics::Pass::exportClassToTree ( nkExport::Node rootNode)
overridevirtual

◆ importClassFromTree()

virtual void nkGraphics::Pass::importClassFromTree ( nkExport::Node rootNode)
overridevirtual

The documentation for this class was generated from the following file: